package com.dake.jdk8.conllection.set;

import java.util.Collections;
import java.util.HashSet;
import java.util.Set;

public class set01 {
    public static void main(String[] args) {
        testSetAddAll();
    }

    private static void testSetAddAll(){
        Set<String> set = new HashSet();

        set.addAll(Collections.EMPTY_LIST);
        set.addAll(Collections.EMPTY_LIST);
        set.forEach(System.out::println);
        System.out.println(set.size());


    }
}
